import HttpService from "@/api";

/**
 * @description 获取在线用户列表
 * @param params
 * @returns
 */
export const getOnlineListApi = (params: any) => HttpService.get<any>(`/monitor/online/list`, { params });

/**
 * @description 强退用户
 * @param tokenId
 * @returns
 */
export const forceLogoutOnlineApi = (tokenId: string) => HttpService.delete<any>(`/monitor/online/${tokenId}`);
